package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_tongtian_fight", autoSave = true,uploadCk = true,desc = "激斗通天塔-爬塔日志")
public class LogClimbTowerFight extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "当前层数")
    int cellNum;

    @FieldTypeAnnotation(desc = "事件类型")
    int eventType;

    @FieldTypeAnnotation(desc = "事件id")
    int eventId;

    @FieldTypeAnnotation(desc = "玩家原点数")
    String beforeAbility;

    @FieldTypeAnnotation(desc = "变更后原点数")
    String afterAbility;

    @FieldTypeAnnotation(desc = "怪物点数")
    String eventAbility;

    @FieldTypeAnnotation(desc = "变更前经验点数")
    String beforeExp;

    @FieldTypeAnnotation(desc = "变更后经验点数")
    String afterExp;

    @FieldTypeAnnotation(desc = "奖励")
    String rewards = "";


    public LogClimbTowerFight(int activityId, long userId, int cellNum, int eventType, int eventId, String beforeAbility, String afterAbility, String eventAbility, String beforeExp, String afterExp, String rewards) {
        this.activityId = activityId;
        this.userId = userId;
        this.cellNum = cellNum;
        this.eventType = eventType;
        this.eventId = eventId;
        this.beforeAbility = beforeAbility;
        this.afterAbility = afterAbility;
        this.eventAbility = eventAbility;
        this.beforeExp = beforeExp;
        this.afterExp = afterExp;
        this.rewards = rewards;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCellNum() {
        return cellNum;
    }

    public void setCellNum(int cellNum) {
        this.cellNum = cellNum;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public String getBeforeAbility() {
        return beforeAbility;
    }

    public void setBeforeAbility(String beforeAbility) {
        this.beforeAbility = beforeAbility;
    }

    public String getAfterAbility() {
        return afterAbility;
    }

    public void setAfterAbility(String afterAbility) {
        this.afterAbility = afterAbility;
    }

    public String getEventAbility() {
        return eventAbility;
    }

    public void setEventAbility(String eventAbility) {
        this.eventAbility = eventAbility;
    }

    public String getBeforeExp() {
        return beforeExp;
    }

    public void setBeforeExp(String beforeExp) {
        this.beforeExp = beforeExp;
    }

    public String getAfterExp() {
        return afterExp;
    }

    public void setAfterExp(String afterExp) {
        this.afterExp = afterExp;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

}
